package com.cai.oamanager.service;

import com.cai.oamanager.entity.Category;
import com.cai.oamanager.entity.People;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @version 1.0
 * @author：蔡松坡
 * @date：2021/1/16 10 : 13
 * @package：com.cai.oamanager.service
 */
public interface UserService {

    People login(People people);
    List<People> allPeople(String tname,Integer start,Integer size);
    void addPeople(People people);
    int getTeacherCount(String tname);
    int getTeacherCountByLike(String tname);
    void delete(String id);
    void updateSelf(People people);
    List<People> getTeacherName(String oid);

    List<People> getAllFDY();
}
